package com.example.campusforumapi.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Comment {
    private Integer commentId;//评论ID
    private Integer userId;//用户ID
    private String commentType;//评论类型  activity  article
    private Integer targetId;//关联ID
    private Integer parentCommentId;//父评论ID
    private Integer likeCount;//获赞总数
    private String content;//评论内容
    private LocalDateTime updateTime;//更新时间
    private LocalDateTime createTime;//创建时间
    private String title;//活动或文章标题
}
